package com.test.ssm.dao;

import com.test.ssm.pojo.Account;
import com.test.ssm.pojo.Role;

import java.util.List;

public interface AccountDAO {
    Account getPasswordByName(String name);

    List<Account> getAccountList(Account account);

    Account getAccountById(Account account);

    int deleteUser(Integer id);

    int addAccount(Account account);

    int updateAccount(Account account);
}
